package DataTransfer;
import java.io.BufferedWriter;
import java.io.InputStream;
import java.io.OutputStream;

/**
 * @author alek
 *
 */
public interface InterfaceDataTransporter {
	public void setInputStream(InputStream input);
	public void setOutputStream(OutputStream output);
	public void addInputStreamListener(InputStreamListener listener);
	public void removeInputStreamListener(InputStreamListener listener);
	public BufferedWriter getWriter();
	public void close();
	public void send(String message);
	public void flush();
	public InputStream getInputStream();
	public OutputStream getOutputStream();
}
